package com.spa.application.dto.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.spa.infrastructure.enums.dict.order.OrderStatusEnum;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude
public class FinanceOrderListDTO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long orderId;

    private String orderCode;

    private String transactionId;

    private String shopName;

    private OrderStatusEnum orderStatus;

    private String serviceName;

    private String massagistName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    private Integer servicePrice;

    private Integer extPrice;

    private Integer travelPrice;

    private Integer totalPrice;

    private Integer ticketPrice;

    private Integer payPrice;

    private String payType;

    private Double massagistCommissionSharingProportion;

    private Integer massagistCommissionSharingPrice;

    private Integer massagistTotalPrice;

    private Double shopCommissionSharingProportion;

    private Integer shopCommissionSharingPrice;

    private String payRate;

    private Double payCommission;

    private Double platformCommissionSharingProportion;

    private Integer platformCommissionSharingPrice;

    private Double platformActualPrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date massagistWithdrawTime;

    private Integer massagistWithdrawStatus;

    private Integer massagistWithdrawPrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shopWithdrawTime;

    private Integer shopWithdrawStatus;

    private Integer shopWithdrawPrice;

    private Long massagistWithdrawId;

    private Long shopWithdrawId;

    private String source;

}
